/**
 * 通知公告模块路由配置
 * 包含政府通知、教育培训、建议反馈等功能页面
 */
export default [
  {
    path: '/notice/gov',
    name: 'GovNotice',
    component: () => import('@/views/notice/govNotice/index.vue'),
    meta: {
      title: '政府通知',
      requireAuth: true
    }
  },
  {
    path: '/notice/gov/detail/:id',
    name: 'GovNoticeDetail',
    component: () => import('@/views/notice/govNotice/detail.vue'),
    meta: {
      title: '通知详情',
      requireAuth: true
    }
  },
  {
    path: '/notice/edu',
    name: 'EduTrain',
    component: () => import('@/views/notice/eduTrain/index.vue'),
    meta: {
      title: '教育培训',
      requireAuth: true
    }
  },
  {
    path: '/notice/edu/detail/:id',
    name: 'EduTrainDetail',
    component: () => import('@/views/notice/eduTrain/detail.vue'),
    meta: {
      title: '培训详情',
      requireAuth: true
    }
  },
  {
    path: '/notice/suggest',
    name: 'Suggest',
    component: () => import('@/views/notice/suggest/index.vue'),
    meta: {
      title: '建议反馈',
      requireAuth: true
    }
  },
  {
    path: '/notice/suggest/form',
    name: 'SuggestForm',
    component: () => import('@/views/notice/suggest/form.vue'),
    meta: {
      title: '提交建议',
      requireAuth: true
    }
  },
  {
    path: '/notice/suggest/detail/:id',
    name: 'SuggestDetail',
    component: () => import('@/views/notice/suggest/detail.vue'),
    meta: {
      title: '建议详情',
      requireAuth: true
    }
  }
]